package com.qk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private Integer id;


    private String username;


    private String password;


    private String name;


    private String phone;


    private String email;


    private Integer gender;


    private Integer status;


    private Integer deptId;


    private Integer roleId;


    private String image;


    private String remark;


    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    
    //扩展属性
//    private String deptName; //部门名称
//    private String roleName; //角色名称
}
